
#ifndef ANIMATOR_H
#define ANIMATOR_H

#include "Actor.h"

class Animator
{
public:
	static Animator* Instance();
	void Animate(Actor* actor, Animation* a, double time);
	bool IsPlaying();

private:
	Animator(){lastTime = 0;};
	Animator(Animator& animator){};

	bool finish;
	float lastTime;
	static Animator* _animator;

};


#endif